package be.bonamis.umpire.ui.client.mvp;

import java.util.List;

import be.bonamis.projects.umpire.business.dto.ClubFPScoreDTO;
import be.bonamis.projects.umpire.business.dto.GameDTO;
import be.bonamis.projects.umpire.business.dto.UmpireDTO;

import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;

public interface HistoryView extends IsWidget {

	void setPresenter(Presenter presenter);

	Presenter getPresenter();

	interface Presenter {
		void dispoButtonClicked();

		void whoButtonClicked();

		void putResponsesInDB(Integer umpireId, long gameId, VerticalPanel reportPanel,
				List<HorizontalPanel> panels, List<TextBox> tBoxes);
	}

	void setValues(UmpireDTO umpire, List<GameDTO> games);

	UmpireDTO getUmpire();

	void updateScores(List<ClubFPScoreDTO> list);
}
